package com.hehao.xxljob;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class apoc_xxlJob {

    @XxlJob(value ="demoHandler")
    public void checkDataStatusHandler() {
        log.info("xxl示例处理器执行！！！！");
        XxlJobHelper.log("apoc-XXL-JOB, Hello World.");
    }
}